<div class="page-content" >
				<div class="panel panel-default">
								<div class="panel-heading"> 申请校园合伙人 </div>
								<div class="panel-body photoBrowser">
												<div class="form-horizontal" id="apply_apply_agent" >
																<div class="info-box">
																				<div class="info-hd">校园协议</div>
																			
																				<div class="data-box">
																				 <img data-type="photoBrowser" src="<php>echo ImgDomain</php>/<{$data['agreement']['file_url']}>" width="200"  />
																				 <p><a href="<php>echo ImgDomain</php>/<{$data['agreement']['file_url']}>" target="_blank" ><{$data['agreement']['file_name']}></a> </p>
																					</div>
																</div>
																<php>$from_id=$data?"apply_apply_agent":'';</php>
																<{:displayFormGroupHtml("AgentApply",$data,$from_id)}> 
																
																</div>
												<form id="form" class="form-horizontal" enctype="multipart/form-data" action="<{:U('status')}>" method="post" novalidate="novalidate">
															<div class="info-box">	<div class="info-hd">审核信息</div>
																<div class="data-box">
																<input type="hidden" name="id" value="<{$data.id}>">
																<div class="form-group">
																				<label class="col-sm-2 control-label">过期时间</label>
																				<div class="col-sm-7">
																								<input  class="form-control datetimepicker" data-date-format="yyyy-mm-dd"   name="expirationTime" value="<{$data['expirationTime']?date('Y-m-d',$data['expirationTime']):''}>"  />
																				</div>
																				<div class="col-sm-3"> </div>
																</div>
																<div class="form-group">
																				<label class="col-sm-2 control-label">激活金额</label>
																				<div class="col-sm-7">
																								<input  class="form-control"   name="agent_frozen_capital" value="<{$agent_frozen_capital}>"  />
																				</div>
																				<div class="col-sm-3"> </div>
																</div>
																<div class="form-group">
																				<label class="col-sm-2 control-label">备注</label>
																				<div class="col-sm-7">
																								<textarea style="height: 60px;" class="form-control"  id="textarea-content" name="remark" rows="2"><{$data.remark}></textarea>
																				</div>
																				<div class="col-sm-3"> </div>
																</div>
																
														 
																<div class="form-group">
																												<div class="col-sm-2 control-label">状态</div>
																												<div class="col-sm-8" >
																																<div style="color:red;margin-top:7px">
																																				<if condition="$data['status'] eq 1"> 信息已经提交，等待审核 </if>
																																				<if condition="$data['status'] eq 2 and $data['expirationTime'] gt time()"> 审核通过,有效期至：<{:date("Y-m-d",$data['expirationTime'])}> </if>
																																				<if condition="$data['status'] eq 3"> 审核不通过 </if>
																																				<if condition="$data['status'] eq 4">退出校园代理 </if>
																																</div>
																												</div>
															</div>
																								
																<div class="form-group">
																				<input type="hidden" name="status" id="status" value="<{$data.status}>" />
																				<div class="col-sm-offset-2 col-sm-7">
																								<button class="btn-primary btn  btn-sm" onclick="$('#status').val(2)" type="submit">审核通过</button>
																								<button class="btn-default btn  btn-sm" onclick="$('#status').val(3)"  type="submit">审核不通过</button>
																				</div>
																</div>
																</div></div>
												</form>
								</div>
				</div>
</div>
